﻿using System;
using WpfTwitterClient.Infrastructure.Models;
using WpfTwitterClient.Infrastructure.Services;

namespace WpfTwitterClient.Modules.Timelines.Services
{
    public class TimelineService : ITimelineService
    {
        private ITwitterClient client;

        public TimelineService(ITwitterClient client)
        {
            this.client = client;
        }

        public Tweets GetHomeTimeline()
        {
            return client.GetHomeTimeline(5);
        }
    }
}
